package com.board.service;

import com.board.mapper.JOJOMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JOJOService {
    @Autowired
    private JOJOMapper jojoMapper;
    public String insert(String message) {
        int insert = jojoMapper.insert(message);
        return insert > 0 ? "success" : "fail";
    }
    }
